Assign relations to function keys