cleaning the code and using a new routine