Inject optimization