changing positions of filter functions

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