raw java files for Scott