parallel processing implemented and debugged