add part about defining functions