deleted unused functions