found bug, but now 'H' gives nan!!!!