gras: helper function for high prio hack