adding sql to create tables