some updates to cloc