updated to rev 10789