added print task sample