adds remaining and inflection functions to TodosController but still doesn't work, trying to figure it out