added getLastXMin()