Added createTable() and other issues