Fixed funWithHeader