new results. some very small changes in code