Removed an unnecessary line and added comments