main.cpp arminarm specific