Adding selection of initial filter
removing dead testing code