This is example using java.util.concurrent