add new demo for multi-threading