initial commit from https://code.google.com/p/lisa-ham/