removed empty switch statement