mini-project 1 and 2