threads for 1 thread
add libs