started work on injectType