added python tricks