change to cursor.findall()