Refactor eating