running main + 1 thread