working on returning vector of ints from sqlquery