if we're calculating the mean of some integers, only the variabile "mean" should be double