removed min, fixed returning no moves