removed the in file funciton defs