added tpos api