receiving from system.in