example to learn how use blocks