editing filter functions

Signed-off-by: noahg <noah.gunther@gmail.com>