Fixed Example code