cube object struct