Add method to query the current pointer location