Use all method instead of each.