make a function for outbound filter logic (indent was too deep, low readability)
make a function for outbound filter logic (indent was too deep, low readability)

MarginC/kame,MarginC/kame,MarginC/kame,MarginC/kame,MarginC/kame,MarginC/kame,MarginC/kame