Adding another sample strategy in Java.