added filter selection. needs work