turn enum PCState into enum class