Reduced Lines of code

Deleted unneccesary code