mostly work on the sql file