Change some sample code