returning name after joining