remove redundancy by declaring headers separately