Added centerX and centerY