adapt method added