prepare new connect calculation