added cube output