Added some more comments
Added a limit for testing purposes.