refact nest position