check for arguments