pretty printing, gap edge refs, and deref