adding python checks