added cluster helper functions