Use point object instead of ptr