Task 1:Strategy and Task 2:Listener commit