add 'filter' and 'withFilter'
Merge pull request #17 from halcat0x15a/filter

add 'filter' and 'withFilter'