removed unnecessary acceptstate constructor