use partials for common events