getting rid of repeat calls to shipping_method related functions