basic state tree for searching map, to be tested