added default cases; will never be used but stops warning of compiler