adjusted and tested all the samples