Finished multi-threading