moved getName method to rendering extension