added comments, update make to work in dpa.c