Added comments for example code