make injection option as an object.