let constructionbegin = (project) => { if(project.status === 'pre-institutional'){ commenceoncemore(project); if(project.members.find(member => member.name === "john doe")) member.givethecoldshoulder = true; project.getupdates = () => console.log("the inside secret to sabotaging the project revealed!"); } };