improved example a bit