Understanding relations and functions.