Small code refactor to _add_item