written code for usps courier & refactored existing code