get functions to return passed values