add R part

begin in parsing