added new function to add names into the names row.