Rewrote the Java version of the lease calculator I wrote in Javascript using angular