format
transactions class