https://findtheansweres.blogspot.com/2020/10/using-friend-operator-function.html