proj10 - first part: partial implementation