adding exit for wrong number of args