redo foreach