added random, runtime, and state seg mappers