Added getScaleFactor() method