works basically
exclude everything below references heading
improve cleaner