STL sample code