mhex stuff: ready for first review :)