added correct totalxs to LRA input