reading the database works for the first list