added default values for scale and height