cleaned up couts and updated some comments