add newlines before 'case'