Added getName() method