hw4 with origin directory