added stuff for char classes