added docs, fixed number of programs