Only 100 lines of code!