example code added to the readme file