simple addition works with corrected random number generator