close #22, probs now can be read from file