updated minimal example