override toString for filterfunctions