Time for action – Constructing the query