sample code is fixed