add the sql too