functions are now incuded