using system.out in cli