recording transactions