main medicuboid program