grammar: assign and function