PosLength example working