get rid of un-used headers and use W function not A function