initial files; re-written to reflect REA theory more closely