removed flags check in usage fn