pass h to iterator subroutines