added multiple threads example