first attempt at example8