Use new programming method for exposing state