Basic implementation of nested blocks