addeed sample of doing a dynamic origin filter