Adding update to intermediate.js part 1. Thank you for the hints