adobpted lab2 geometry for Vitaly