refactored label render