change sample code