new functions in datastructures, prep for simulation routines