Re-write the inject method