Credit @willglynn for nerdcubed (#4515)