https://cimfalab.github.io/deepscan/2016/09/code-review-2