implemented support for object labels