added some edits to filter resolution