basic room clamping added