alongside a main function (like `render` -- still unsure of the method name)? or in place of?