added cout statement