refactors standardization to use inject