return list instead of db iterator