updated Main

Removed unwanted code