added argument check for running