News: adaptivity added.