Add function to create new tables