broke out _setGeometry method