use new connect syntax