working rewritten inject. Need to modify to take no argument