break printing and fixes to switch