I'd probably define these before the `handle remainder`