add examples
fix filter.d cast