got starting position, checking valid states