add method to validate arguments so application does not wait for input