finished the noise code, have not tested it yet