From: eisenbits on
http://www.eisenbits.com/en/projects/svarog/