Consolidated usage output into function