class Planet working