first part of adding second timer in query window
second part of adding second timer in query window