adding the 3 planets code