testing a controller function
filter ??