Added filtering and sequence surrounding