use the numpy api instead of grabbing internals of hitten structs