added while functionality to laplaceFilter firing