cleaned up transactions controller