updated code with anon name feature