working connection with timer