rm unneeded address
move methods into Transaction class