add setcurrentposition