Nicer sample code.