cubed method