ptr explanation