center while using offsets