add titles to each table
remove 'dist' from two level