definition endpoints array class