fixed some errors, updated print_all(), updated doc strings