add example for spooled