changed 'using splice to add planet back from using 3 as the key to referencing var index