all unsgined char was updated to int type as Victor P. suggested
minor update the data member initialization order