add sample code to refactor