Commented and corrected project 5