preparations for an advanced example