Replace getName by toString