added missing argument checks