an example using python