modify twelve balls model