added variables for event views