case syntax fixed