Extract name attempt 2

Different approach to extract name.