print command implemeneted