initial codes for path finder/state changes