added timer controller