added noise to frame calculation