function declarations cleanup
unused functions cleanup