minor changes plus R