did I fry my starter?

When my starter was on its way out, once and a while i would get a cloud of smoke from the engine compartment. It would also make a grinding sound until it finally caught and worked. I put a used starter in and haven't had an issue since.