Trying to debug next and prev.No luck yet.