create_transaction only if it is not there yet