How it works

latest code