managing transactions manually