https://github.com/mgorny/shadowman
