remove foreach