practice using the inject method