made some python code