removed duplicate rewind()