adding the possibility to hide headers