initial commit -- includes a helper for inplace assignment