Added autofit()