Initialized more variables from getwidth