Corrected syntax error in sample code.