remvoe unused functions