making events documentaion easier with partials