A method of forming a near field transducer (NFT) layer, the method including depositing a film of a primary element, the film having a film thickness and a film expanse; and implanting at least one secondary element into the primary element, wherein the NFT layer includes the film of the primary element doped with the at least one secondary element.