updated label functions