Implemented mapping
Priority setting according to the spec