added framework for cube