clean up comments method