add source and destination filtering