move ld_filter function into B:A:Forge so we can capture the output