refactored some methods into a new module, cube_utils