Use andersen in main class