added 2 functions to run