drafted a classier thread system