Mostly working data structure.