Implemented Filter statement