added print statememt example