Added few comments
Added a working example