Use shell object to store events