It works! Added some comments.