more flexible filtering behaivor
lgpl licensing