Useless foreach constructor