added filter for iteration