implementing labelmap specifics