version 1.06 threads added