small problems solved with python