scan id works
buffer allocation for pages
now can scan tail