changed char to string