use rhc instead of rest api