implemented char type