added PLY output