A method of preparing an implant comprises providing an implant comprising a biocompatible metal surface, contacting the biocompatible metal surface with an electrolyte solution, and (c) passing a current through the electrolyte solution between a cathode and an anode which are in contact with the electrolyte solution. The method causes micro pits to be formed, distributed over the surface of the implant.