Finished revision one and added more code.