Let pop method return tuple of dbpage and idx