sets up DC
finalizes dc action