Sticking to the ideal implementation mentioned in the slides.