offer, transaction + uproszczenie kodu