code samples in various languages