move the header annotation only to the necessary methods