slightly more efficient, no need to retrace our steps