move ar arguments from the definition to the usage for easier cross-compling