state based programming 6422861