improved prepared statements; overhauled enroll tab