new method for checking safety of move