Planet homework: redux