fixed R1 and implemented test