added interpretation for defining functions