completed work on duplicate names issue