improve the way stocks from the db are returned.