removed parallel computation