set timmers for functions so that they excecute in order