add types, copy, pprint example