added scale param