giving custom events their own view file