add pointer type
add accessor methods