Change commit to take sequence of events