Added some comments for documentation