added printf command