made the width variable