better cloud detection