task with printing on console