added some code related to 'name' table