create and use blocks