added main code for dpa; numbers arent being passed correctly