refactor add labels