cleanup and title function
cleanup