changed to a sql file