NASA has cracked the code for replacing