so width is a function