final version proj1