added validity check in arguments input