adding simple timer and trigger