Add time measuring switch