changed events from strings to objects