Made some changes to posnew method