sub-optimal "solution", better would be to wrap everything in blocking block