added grc terminal functions