adding ym structure