Removed unnecesary cout statements