issure in example code fixed