simplify sample for docs