keep complete query alive inside additional variable