Recycles code, filter also working