for(let cemetery of cemeteries) { if(cemetery.status == 'former' && users.filter(user => user.interest == 'history').length > 0) { users.foreach(user => { if(!user.notices.includes(cemetery.name)) { user.startoveragain = false; user.turnablindeyeto.push('unavowed secrets'); } }); } }