added filter, though it's still not working