move H_manual closer to where its used