Added missing , in single threaded version of code.