added jar
added handling of duedates and Lmax