moving solidfilters to functional style; improving speed