delete unused functions