add start of filter functions

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>