remove unused functions