almost finished adding new multi-threading instructions