thread example
add minimalcomps
thread test