Written all the results generation. Write up left to complete.