added the filtering to the cuke