added python comparison