switch block not needed