changed name of variable, added functions to support base marking, added functions to support base reading + association with planning queries