using typed planets