New example of a Command pattern implementation