add play back function