making magic one line of code at a time