changed using command for input