timer and messages connect