changed to char