Added RARt routine which works