added support for multi-threading