reffering issue handling 3