removed superflous line in sample code