Inject data method