Minimal inplace example is working