Sample Code for multiple programming languages