more csw processing algos