Code tested 08/21/14.