refactored default excludes function