added commands for printing