added transactions support