Wrote programmers manual draft 1