Adding first autosize code