macro for Object pointer indexing
macro for Segment pointer indexing