added 6-1 code and docs