added mask, changed random_in frequency