Created CoreThread example