changes for filtering unwanted things