made it so that the user can control the filter directly