Changed ref to remove public