[Would this help](https://gist.github.com/jamesgorrie/6d5b96296408bf5a7fc4)