Add the functions to self executing function