use int instead of char fir boolean values