R=R[::-1] to fix sf 1