trying to do it the 'hxp' way