added cout for vector