Some late night work I did a few days ago. Sometimes you need...