moved name not main to bottom of file
removed unused imports