more realistic Resources obj, much borrowed from old HTML sessions