added event listeners for planets