Removed unnecessary code and minor changes