new scheme getting a data from db with close cursor in helper