created new min flag as other flag was for error reporting