adapted processing to cuckoo 1.0