renamed filter_external() to filter_on_external()