switch to class map