changed break to char