trivial
added vertical and horizontal distance attributes to state