unused functions deleted