WIP: generalize treatment of observations