query for inserting ssa coords