added      function
added      function/checkargs.js