changing positioning of add and remove filter functions

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