add two simple functions