added cube rotation demo