sol of mini_project 1