Added comments and examples