moved definition of newresults