simplify second site noise code