trying to find a way to store an event