displaying names correctly