working on master functions and objects