Bang-Bang method ver1 complete — works