rest of the makesql stuff