Added functionality for create_table