add quality attr + mapping