add function play chpaters