finished CLEAN coding