direction filter commented out, since it doesn't work