renamed a the requiresHeader variable to make it even more clear