RELATIONS AND FUNCTIONS - Mastermind