added a modified version for the create_tables.sql