argument check added
argument check added.