added betterCubic