switch to using __hex__ and __index__