added rough start for possibilitycube code