new method signature and add warnings #29