edge filter working