add getName method