added planets by malloc