added tabs, sql, fkeys