Block demo

Block like delegate.