Working on CAPDIV Cleanup Function