added more flexibility to hh
added more flexibility to lh and rh