copied some code that have deliberate errors in and correcting them in Plain text.