cleaning all th functions