adds a third table
fixes bugs in layout
lessons updated