initial commit verbatim from sourceforge