finally got rgpointsto working