4 hours reading the LDD book, resulting in 5 lines of code