managingreference