scan and compress examples added