Fixed syntax error in sample code.