cleaning of code