added oversampling