improved format and info added python