working connection tracker, tested on demo