modernized [from](https://github.com/dominictarr/from)