Removed unnecceassry thing from mainfile