added an example, fixed a some bugs with gathering cluster info, etc