added obj() constructors to give compatability to create the data in
both directions