added RET, RET parsing and tests