working on sample 3