added python for comparison