Slightly modified logic in assigning initials property