added functionaluty to get names, if last name has 2 tabs