use filter correctly now