add r utilities