You must have fallen asleep and had a vision then. Because Genesis says nothing about stars being for decoration, and the word planet is not even mentioned.
A: Tead about their purpose more carefully and you will see what I mean, and #2: Stars = Stars and Planets. We just didn't know that yet and He wasn't telling us that secret at that time.