added comments and removed useless couts