base pointer example