saves transaction info