Made scale factor optional