move width to base class