Moved createTable method next to createTables method.