Try to pass calendar events as a method