added some python stuff