last prototype without the transaction process