Added comments and example