adding in the called functions