remove old method and add id to header