take list headers into account