headroom implementation