Updated to rev 3