views according to events