refactored mycubbys api