delete non needed fns