compoundObject added as first draft, no unit testing performed