change function of JR