basic validation for plan