filter links method split out