adding blocks with contexts