return names as the third argument in connect