removed switch garbage