using refence insted of random numbers@