Replaced list withe each