Filter functions

Filter functions implemented following a test logic