added revealing mode pattern example