cleaned up code after running launchcop