small changes in srcprob.py