Added t/used.t and some debugging