chang sample codes in overview