replaced arg1 with args[1]