Removed extra cout statement.