add pointer arithmetic printout with functions
add typedef and enums