Piff examples

Some improvements here and there, hope I kept the spirit intact :)