using common header for both implementations of the global queue