helper function for default load