-adding clearHeader method