A sample code using rust