maha | added transaction management. Moved transaction to main form level on every process