add reverence function