Most of exercise6