added new ptr class