added model for events