rework block handling to recognize { ... } blocks