Rough draft of actually filtering on cd