put pseudocode in for EHS algorithm