reduce examples and cleanup