some code about creating and dropping tables added