getHeader() method has been changed