add function and rvm type installation