add getNickname method