check for args