A Stable Design for the State Design Pattern David Gore