adding tag refs