Further use of forEach & reduce