Working with blocks