thread unsafe crazy queue
thread unsafe stuff doesn't look very interesting
Scalar pattern validation