improved delivery method with custom attributes