variable Scope

only one width in main code