extract the names