add setPostion method