Simple strategy pattern example