add one helper function for REV.