Transact method is now functioning