added sql and erwin