added final (done) and prog will be for debugging