changes were made in example
added a echo