improved PLanet functions