adapting methods