Fixed ARS and made it much fasteR