adding python analysis stuff