add get_width() to all related classes