read name when appropriate