Add validate function and action to planetarium