Debugging Y/R minor errors, not fixed yet