rename method and changed warning text