added a simple variance filter