print timestamp before, after require and before and after user query