changed connect calculation