Fixed using bool instead of char