Adding to the sql