Added insertSampleData parameter.