Setting label to :resource