cleaned & documented examples