Main #A R Machine