deleted normalization option, added sample generation