example implementation of typed wrapped for the queue in the tests