added the reference handling commands