added the updated example