added cube generator