Added hypstersis filter